
import Home from "../view/home/home";
import Css from "../view/c/css/css";
import Opacity from "../view/c/opacity/opacity";
import Router from "../view/r/router/router";
import Child from "../view/r/child/child";
import ChildRoute from "../view/r/childRoute/childRoute";
import Way from "../view/base/way/way";
import Fo from "../view/base/fo/fo";
import Com from "../view/base/component/com/com";
import Even from "../view/base/even/even";
import Load from "../view/base/load/load";
import Ajax from "../view/base/ajax/ajax";
import Table from "../view/base/table/table";

import Redux from "../view/redux/redux";
import Redux1 from "../view/redux/redux1";
let routes = [
  {
    path: "/",
    component: Home,
    exact: true,
  },
  {
    path: "/home",
    component: Home,
  },
 
  {
    path: "/css",
    component: Css,
  },
  {
    path: "/opacity",
    component: Opacity,
  },
  {
    path: "/router",
    component: Router,
  },
  {
    path: "/child",
    component: Child,
    Childroute: [
      {
        path: "/child/childRoute",
        component: ChildRoute,
      },
    ],
  },
  {
    path: "/way",
    component: Way,
  },
  {
    path: "/fo",
    component: Fo,
  },
  {
    path: "/com",
    component: Com,
  },
  {
    path: "/even",
    component: Even,
  },
  {
    path: "/load",
    component: Load,
  },
  {
    path: "/ajax",
    component: Ajax,
  },
  {
    path: "/table",
    component: Table,
  },
  {
    path: "/redux",
    component: Redux,
  },
  {
    path: "/redux1",
    component: Redux1,
  },
  

  
];

export default routes;
